#!/bin/bash
# Show help for Python

# Author: Miki Tebeka <miki.tebeka@gmail.com>
# License: BSD (see LICENSE)

ROOT_URL="http://docs.python.org"

case $# in
    0 ) start $ROOT_URL/modindex.html;;
    1 ) start $ROOT_URL/lib/module-$1.html;;
    * ) echo "usage: `basename $0` [MODULE]"; exit 1;;
esac
